package day_2022_4_to_7.day48;

import java.util.Scanner;

/**
 * 最难的问题
 * @author haomin
 * @date 2022/05/28 09:04
 **/
public class Day30_1_LetterChange {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        while(in.hasNext()){
            String str = in.nextLine();

            String result = "";
            for(int i = 0;i < str.length();i++){
                char a = str.charAt(i);
                if(a >= 'F' && a <= 'Z'){
                    a = (char)((int)a - 5);
                }else if(a >= 'A' && a <= 'E'){
                    a = (char)((int)a + 21);
                }
                result += a;
            }
            System.out.println(result);
        }
    }
}